﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    public class V_AR_RECEIVEBILL
    {
        public string RowId { get; set; }
        public string? FENTRYID { get; set; }

        [Key]
        [Column(Order = 0)]
        [StringLength(255)]
        public string FFINTYPE { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(30)]
        public string FBILLNO { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(8)]
        public string FDOCUMENTSTATUS { get; set; }

        [StringLength(255)]
        public string FBILLTYPE { get; set; }

        [StringLength(80)]
        public string FPURPOSE { get; set; }

        [StringLength(255)]
        public string FPAYORG { get; set; }

        [StringLength(80)]
        public string FCURRENCY { get; set; }

        public string? FRECAMOUNTFOR { get; set; }

        public string FRECTOTALAMOUNTFOR { get; set; }

        [Key]
        [Column(Order = 3)]
        public string FREALRECAMOUNTFOR { get; set; }

        [Key]
        [Column(Order = 4)]
        public string FDATE { get; set; }

        public string? FAPPROVEDATE { get; set; }

        [StringLength(500)]
        public string FCOMMENT { get; set; }

        [StringLength(500)]
        public string FREMARK { get; set; }

        public string FSETTLETYPE { get; set; }
    }
}
